home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
SHUFFL11.ZIP
/
SHUFFLE.TXT
< prev
next >
Wrap
Text File
|
1996-12-07
|
3KB
|
51 lines
-----------------------------------
Shuffle v1.1 (c) 1996 Michael Bevin
___________________________________
I made this game in the process of learning DJGPP with the ALLEGRO game
programming library, so the focus was more on trying various things out
rather than creating a great game....... this also meant that the source
code is not as easy to follow as it might have been, but anyhow, here it
is.
The game should be pretty simple to play, use the arrow keys to navigate
the start menu, space to start - the funny bar third thing down represents
what score to play to and thing below it represents the goal size. The
keypad keys are the arrows, and the keyboard keys are W,A,D,S (or X).
The aim of this game is to get the 'puck' into the oppenent's goal more
times than he gets it into yours, and you only score when serving. The
ball interaction routines aren't the greatest and i'd be interested to
hear from anyone who's developed any better ones. I've used a system of
calculating the angle between ball & bat, the angle at which the ball is
moving and subtracting the difference from the former angle to calculate
the out angle, then used the relative bat speed combined with the balls
velocity to work out the resultant speed of the ball. I asked my physics
teacher about it but he was useless so I tried what worked (almost)
rather than applying any physics.
The only useful command line option is -n, which turns the sound and
music off. Typing F during the game should cause it to display the fps
rate near the top left corner of the screen - I managed to get it up to
32 fps on my 386 DX-40 by turning off sound etc!
Hope u like the music, I've FINALLY got mods working! Thanx to whoever
wrote the MOD - I was going to use my own .S3M composition but when I
convert it to a MOD and play it in my game it's stuffed... oh well, this
ones really cool anyway, even if it adds to the zip size.
btw, this programme is freeware, and the source is free with it if it's
any use to anyone, but if you go wish to change the source or use it in
anything please acknowledge me 4 it :) It needs the Allegro library as
well as some sound blaster library (SB_05.ZIP) plus of course DJGPP.
Please write,
-------------------------------------------
Michael Bevin
129 Signal Hill Road
Dunedin
New Zealand
E-mail - michael.bevin@stonebow.otago.ac.nz
-------------------------------------------